package com.zzyl.service.impl;

import com.zzyl.dto.NursingProjectPlanDto;
import com.zzyl.mapper.NursingProjectPlanMapper;
import com.zzyl.service.NursingProjectPlanServce;
import com.zzyl.vo.NursingProjectPlanVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NursingProjectPlanServceimpl implements NursingProjectPlanServce {
    @Autowired
    private NursingProjectPlanMapper nursingProjectPlanMapper;

    @Override
    public void addProjectPlan(List<NursingProjectPlanVo> projectPlans) {
        nursingProjectPlanMapper.addProjectPlan(projectPlans);
    }

    @Override
    public void deleteNursingProjectPlan(Long id) {
        nursingProjectPlanMapper.deleteNursingProjectPlan(id);
    }

    @Override
    public void deletePlan(Integer id) {
        nursingProjectPlanMapper.deletePlan(id);
    }


}
